package com.jie.singleton;

/**
 * 饿汉模式
 * @author jie
 * @date 2019/11/6 -11:42
 */
public class Hungry {
    private static Hungry hungry = new Hungry();

    public Hungry() {
    }
    public static Hungry getInstance(){
        return hungry;
    }
}
